<template>
  <div id="index">
    <div class="main">
      <!-- <span><dv-decoration-7 style="width:150px;"><i class="el-icon-s-custom"></i>今日访客</dv-decoration-7></span> -->
      <span
        ><i class="el-icon-s-custom"></i>今日访客<dv-decoration-3
          style="width: 150px; height: 20px; margin-left: 10px"
        ></dv-decoration-3
      ></span>
      <dv-scroll-board :config="config" style="width: 400px; height: 320px" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      config: {
        header: ["姓名", "电话", "地址"],
        headerBGC: "#0f1325", //表头
        oddRowBGC: "#0f1325", //奇数行
        evenRowBGC: "#171c33", //偶数行
        align: ["center"],
        index: true,
        hoverPause: true,
        data: [
          ["张三", "137*****897", "东莞"],
          ["李四", "177*****643", "广州"],
          ["王五", "192*****113", "北京"],
          ["杜六", "121*****771", "上海"],
          ["康七", "189*****643", "杭州"],
          ["李八", "153*****912", "深圳"],
        ],
      },
    };
  },
};
</script>

<style scoped lang="less">
#index {
  width: 400px;
  height: 366px;
  padding: 15px 0;
  margin: 0 auto;
  border-radius: 15px;
  box-sizing: border-box;
  .main {
    // display: flex;
    span {
      color: #fff;
      display: flex;
      align-items: center;
      height: 30px;
      line-height: 30px;
      width: 100%;
      background: #171c33;
      padding-left: 30px;
      box-sizing: border-box;
      i {
        color: #000;
        margin-right: 10px;
      }
    }
  }
}
</style>
